/*
 *   Copyright (c) 2010-2022, SIUFUNG
 */
package net.siufung.market.base.region.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.siufung.core.model.AbstractVo;

/**
 * @author 陈建峰
 * @since 2022-07-07 14:18:39
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="RegionApiDto", description="行政区域信息")
public class RegionApiDto extends AbstractVo {

    private static final long serialVersionUID = -4104874243480211767L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 区划代码
     */
    @ApiModelProperty(value = "区划代码")
    private String code;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 简称
     */
    @ApiModelProperty(value = "简称")
    private String shortName;

    /**
     * 上级id
     */
    @ApiModelProperty(value = "上级id")
    private Integer parentId;

    /**
     * 等级
     */
    @ApiModelProperty(value = "等级")
    private Integer level;

    /**
     * 经度
     */
    @ApiModelProperty(value = "经度")
    private String lng;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "纬度")
    private String lat;

    /**
     * 次序
     */
    @ApiModelProperty(value = "次序")
    private Integer sequence;

}